package irie.util;

import java.util.List;

import org.ansj.splitWord.analysis.ToAnalysis;
import org.apache.log4j.BasicConfigurator;

public class WordSegm {

	public void seg(String str) {
		BasicConfigurator.configure();
		System.out.println(ToAnalysis.parse(str));
	}

	public static void main(String[] args) {
		BasicConfigurator.configure();
		String str = "安徽农业大学校园风光复制成功";
		System.out.println(ToAnalysis.parse(str));
	}

}
